-
Home
-
WPGraphQL
-
2.3.0
-
Code
-
Classes
- AbstractConnectionResolver
Total Complexity |
138 |
Dependencies |
10 |
Dependents |
0 |
Total lines |
1,614 |
Lines of code |
485 |
Logical lines of code |
240 |
Comment lines |
912 |
Methods |
63 |
Properties |
18 |
Methods 63
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_amount_requested() |
A |
52 |
11 |
23 |
validate_query_class() |
S |
48 |
6 |
41 |
apply_cursors_to_ids() |
S |
54 |
6 |
21 |
get_connection() |
S |
52 |
5 |
24 |
get_loader_name() |
S |
56 |
5 |
19 |
execute_and_get_ids() |
S |
59 |
4 |
14 |
has_previous_page() |
S |
61 |
4 |
12 |
has_next_page() |
S |
61 |
4 |
12 |
get_ids_for_nodes() |
S |
62 |
4 |
11 |
get_query_amount() |
S |
56 |
3 |
17 |
get_start_cursor() |
S |
73 |
4 |
4 |
prepare_edges() |
S |
61 |
3 |
12 |
prepare_nodes() |
S |
63 |
3 |
11 |
get_query() |
S |
63 |
3 |
11 |
get_query_class() |
S |
64 |
3 |
9 |
get_end_cursor() |
S |
73 |
3 |
4 |
__construct() |
S |
58 |
2 |
15 |
pre_should_execute() |
S |
68 |
3 |
7 |
get_offset_for_cursor() |
S |
67 |
3 |
7 |
query() |
S |
62 |
2 |
12 |
get_after_offset() |
S |
68 |
2 |
7 |
get_page_info() |
S |
68 |
2 |
7 |
get_array_index_for_offset() |
S |
70 |
2 |
6 |
get_offset() |
S |
68 |
2 |
6 |
get_loader() |
S |
69 |
2 |
7 |
get_before_offset() |
S |
68 |
2 |
7 |
set_query_class() |
S |
76 |
2 |
4 |
get_edges() |
S |
71 |
2 |
6 |
get_nodes() |
S |
71 |
2 |
6 |
get_ids() |
S |
71 |
2 |
6 |
get_should_execute() |
S |
72 |
2 |
6 |
is_valid_model() |
S |
78 |
2 |
3 |
get_args() |
S |
71 |
2 |
6 |
get_query_args() |
S |
71 |
2 |
6 |
setQueryArg() |
S |
74 |
1 |
4 |
prepare_page_info() |
S |
67 |
1 |
8 |
get_cursor_for_node() |
S |
79 |
1 |
3 |
getArgs() |
S |
75 |
1 |
4 |
getSource() |
S |
75 |
1 |
4 |
getContext() |
S |
75 |
1 |
4 |
getInfo() |
S |
75 |
1 |
4 |
getShouldExecute() |
S |
75 |
1 |
4 |
prepare_edge() |
S |
67 |
1 |
8 |
one_to_one() |
S |
77 |
1 |
4 |
get_is_valid_model() |
S |
75 |
1 |
4 |
should_execute() |
S |
82 |
1 |
3 |
prepare_query_args() |
S |
68 |
1 |
8 |
get_ids_from_query() |
S |
68 |
1 |
8 |
is_valid_offset() |
S |
100 |
1 |
0 |
prepare_args() |
S |
82 |
1 |
3 |
max_query_amount() |
S |
82 |
1 |
3 |
query_class() |
S |
82 |
1 |
3 |
is_valid_query_class() |
S |
79 |
1 |
3 |
get_source() |
S |
82 |
1 |
3 |
get_node_by_id() |
S |
80 |
1 |
3 |
get_context() |
S |
82 |
1 |
3 |
get_info() |
S |
82 |
1 |
3 |
get_unfiltered_args() |
S |
82 |
1 |
3 |
set_query_arg() |
S |
76 |
1 |
4 |
loader_name() |
S |
82 |
1 |
3 |
get_pre_should_execute() |
S |
74 |
1 |
4 |
prepare_ids() |
S |
76 |
1 |
4 |
getLoader() |
S |
75 |
1 |
4 |